package com.xuecheng.api.system;

import com.xuecheng.api.system.model.dto.DictionaryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;
@Api(tags = "系统管理api服务",value = "系统管理api" )
public interface DictionaryApi {

    @ApiOperation("查询所有字典数据")
    List<DictionaryDTO> queryAll();


    @ApiOperation("根据code查询字典数据")
    @ApiImplicitParam(name ="code" ,value ="code值" ,dataType = "String",paramType ="path",required = true )
    DictionaryDTO getDicByCode(String code);
}
